package com.springlearn.springsourcecode.chap4;

import org.springframework.context.support.GenericApplicationContext;

/**
 * @author wtcode
 * @Description
 * @date 2025/3/27 - 16:38
 */
public class A04Application {

    public static void main(String[] args) {
        GenericApplicationContext context = new GenericApplicationContext();

        context.registerBean("bean1",Bean1.class);
        context.registerBean("bean2",Bean2.class);
        context.registerBean("bean3",Bean3.class);

        context.refresh();

        context.close();
    }
}
